import {
  HTTP
} from '../utils/http.js'

class HomeModel extends HTTP {
  constructor() {
    super()
  }

  getBanner(success){
    var params = {
      url: 'getBannerList',
      success: success,
      method: 'GET',
    }
    this.request(params)
  }

  getNavtype(success){
    var params = {
      url: 'getFunctionStatus',
      success: success,
      method: 'GET'
    }
    this.request(params)
  }
}

export {
  HomeModel
}